<div node-type="outer" class="detail wbpSettings" style="padding: 0 20px 20px">
<div class="clearfix">
<div style="float: left">
新浪微博<span style="color: red">非官方</span>功能增强脚本。
</div>
<div style="float: right; display: inline; position: relative">
//#if GREASEMONKEY
<a node-type="checkUpdate" href="javascript:void(0);" title="检查脚本是否有新版本">检查更新</a>
<em class="W_vline">|</em>
//#endif
<a href="http://userscripts.org/scripts/show/114087" title="新版本在此页面发布" target="_blank">插件主页</a>
<em class="W_vline">|</em>
<a href="http://code.google.com/p/weibo-content-filter/wiki/FAQ" title="遇到问题请先阅读FAQ" target="_blank">常见问题</a>
<em class="W_vline">|</em>
<a href="/salviati" title="欢迎私信、评论或@作者提出脚本建议" target="_blank">联系作者</a>
<em class="W_vline">|</em>
<a href="http://me.alipay.com/salviati" title="欢迎向作者提供捐助以支持插件的后续开发" target="_blank">捐助插件</a>
</div>
</div>
<div class="clearfix">
<div node-type="tabHeaders" class="wbpTabHeaders">
<a tab="tabKeywords" href="javascript:void(0);" class="current">关键词</a>
<a tab="tabLinks" href="javascript:void(0);">链接地址</a>
<a node-type="tabHeaderUser" tab="tabUser" href="javascript:void(0);">用户</a>
<a tab="tabSource" href="javascript:void(0);">来源</a>
<a tab="tabAdvanced" href="javascript:void(0);">高级</a>
<a tab="tabModules" href="javascript:void(0);">模块</a>
<a tab="tabModify" href="javascript:void(0);">改造版面</a>
<a node-type="tabHeaderSettings" tab="tabSettings" href="javascript:void(0);">设置</a>
</div>
<div node-type="inner" style="float: right; width: 440px">
<div node-type="tabKeywords">
<div class="clearfix">
<div style="float: left">
<input type="checkbox" node-type="filterSmiley"><label title="如果选中，[呵呵]等表情也可以作为关键词被屏蔽">允许表情关键词</label>
</div>
<div style="float: right; display: inline; position: relative">
<span class="link"><a href="javascript:void(0);" style="cursor: help">关键词设置帮助<span><ul>
<li>如果要添加的关键词中有空格，可将其置于一对<span style="color: blue">半角双引号</span>内，如<span style="color: green">"I love you"</span></li>
<li>使用<span style="color: blue">加号</span>分隔需要同时出现的关键词，如<span style="color: green">A+B+C</span>代表A、B、C三个词必须同时出现</li>
<li>使用<span style="color: blue">斜杠</span>设置正则表达式关键词，如<span style="color: green">/转发并@.{2,3}好友/</span></li>
</ul></span></a></span>
</div>
</div>
<div class="wbpKeywordBlock">
<em>白名单</em>包含下列关键词的微博不会被屏蔽
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="whiteKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=whiteKeywordsList&text=whiteKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=whiteKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="whiteKeywordsList" class="wbpKeywordsList wbpWhiteKeywordsList"></div>
</div>
</div>
<div class="wbpKeywordBlock">
<em>黑名单</em>包含下列关键词的微博将被屏蔽
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="blackKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=blackKeywordsList&text=blackKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=blackKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="blackKeywordsList" class="wbpKeywordsList wbpBlackKeywordsList"></div>
</div>
</div>
<div class="wbpKeywordBlock">
<em>灰名单</em>包含下列关键词的微博将被屏蔽<span style="color: red">并提示</span>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="grayKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=grayKeywordsList&text=grayKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=grayKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="grayKeywordsList" class="wbpKeywordsList wbpGrayKeywordsList"></div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top: 0px">
<tbody>
<tr>
<td style="width: 110px">屏蔽提示背景颜色：</td>
<td>
<div class="wbpInput">
<input type="text" node-type="tipBackColor" class="input">
</div>
</td>
<td style="width: 15px">
</td>
<td style="width: 110px">屏蔽提示文字颜色：</td>
<td>
<div class="wbpInput">
<input type="text" node-type="tipTextColor" class="input">
</div>
</td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 40px">示例：</td>
<td>
<div node-type="tipSample" class="wbpTip" style="margin-bottom: 10px">
本条来自<a href="javascript:void(0);">@某人</a>的微博因包含关键词“<a href="javascript:void(0);">XXXX</a>”而被隐藏，点击显示
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div node-type="tabLinks" style="display: none">
<p>如果一条微博中包含链接且目标地址中包含下列关键词，微博将被屏蔽（无提示）。如将taobao.com设为关键词可屏蔽所有包含淘宝链接的微博。</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="URLKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=URLKeywordsList&text=URLKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=URLKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="URLKeywordsList" class="wbpKeywordsList wbpBlackKeywordsList"></div>
</div>
</div>
<div node-type="tabUser" style="display: none">
<p>如果一条微博的发布者或转发原文的作者为下列用户之一，微博将被屏蔽。除了在此处添加屏蔽用户，您还可以将鼠标悬停在用户链接上，在弹出的信息气球上点击“屏蔽”。</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="userBlacklistNew" class="input" placeholder="多个用户名用空格隔开；不要加上前面的@；不区分大小写">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="addUser" action-data="list=userBlacklist&text=userBlacklistNew"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=userBlacklist"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper" style="max-height: 230px">
<div node-type="userBlacklist" class="wbpUserList wbpBlackKeywordsList"></div>
</div>
</div>
<div node-type="tabSource" style="display: none">
<p>如果一条微博的来源（包括转发原文的来源）名称中包含指定关键词，微博将被屏蔽。如将“时光机”设为关键词可屏蔽所有来自<a href="http://time.xuapp.com/" target="_blank">时光机</a>或<a href="http://weibo.pp.cc/time/" target="_blank">皮皮时光机</a>等应用的微博。</p>
<div class="wbpKeywordBlock">
<em>黑名单</em>来源名称包含下列关键词的微博将被屏蔽
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="sourceKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=sourceKeywordsList&text=sourceKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=sourceKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="sourceKeywordsList" class="wbpKeywordsList wbpBlackKeywordsList"></div>
</div>
</div>
<div class="wbpKeywordBlock">
<em>灰名单</em>来源名称包含下列关键词的微博将被屏蔽<span style="color: red">并提示</span>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div class="wbpInput">
<input type="text" node-type="sourceGrayKeywords" class="input" placeholder="多个关键词用空格隔开；不区分大小写；区分简繁体">
</div>
</td>
<td class="wbpToolBtns">
<a href="javascript:void(0);" class="W_btn_b" action-type="add" action-data="list=sourceGrayKeywordsList&text=sourceGrayKeywords"><span>添加</span></a>
<a href="javascript:void(0);" class="W_btn_b" action-type="clear" action-data="list=sourceGrayKeywordsList"><span>清空</span></a>
</td>
</tr>
</tbody>
</table>
<div class="wbpListWrapper">
<div node-type="sourceGrayKeywordsList" class="wbpKeywordsList wbpGrayKeywordsList"></div>
</div>
</div>
</div>
<div node-type="tabAdvanced" style="display: none">
<p>注意：对于所有屏蔽微博的功能，白名单具有最高优先级；如果一条微博包含白名单中的关键词，则<span style="color: red">一定不会</span>被屏蔽。</p>
<p><input type="checkbox" node-type="filterOthersOnly"><label>不要屏蔽我自己发布的微博</label></p>
<p><input type="checkbox" node-type="filterPaused"><label><span style="color: red">暂停屏蔽</span>：选中时暂时停止屏蔽微博</label></p>
<p><input type="checkbox" node-type="filterPromotions"><label>屏蔽推广微博</label></p>
<p><input type="checkbox" node-type="filterDeleted"><label>屏蔽已删除微博的转发</label></p>
<p><input type="checkbox" node-type="filterFeelings"><label>屏蔽“写心情”微博</label></p>
<p><input type="checkbox" node-type="filterTaobao"><label>屏蔽带有 <a class="W_btn_c"><i class="W_ico20 icon_fl_tb"></i><span>淘宝链接</span></a> 的微博</label></p>
<div style="margin-top: 8px">
<input type="checkbox" node-type="filterDupFwd"><label>反版聊：同一条微博的转发最多显示</label>
<div class="wbpInput wbpInlineInput">
<input type="text" node-type="maxDupFwd" class="input">
</div>
条
</div>
<div style="margin-top: 5px">
<input type="checkbox" node-type="filterFlood"><label>反刷屏：来自同一用户的微博最多显示</label>
<div class="wbpInput wbpInlineInput">
<input type="text" node-type="maxFlood" class="input">
</div>
条
</div>
</div>
<div node-type="tabModules" class="wbpTabModules" style="display: none">
<p>请选择要屏蔽的版面内容。</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="line-height: 24px; margin-top: 15px">
<tbody>
<tr>
<td><input type="checkbox" node-type="hideAds"><label>版面及嵌入广告</label></td>
<td><input type="checkbox" node-type="hideFooter"><label>页底链接模块</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideRecommendedTopic"><label>热点微话题（发布框右上）</label></td>
<td><input type="checkbox" node-type="hideApp"><label>我的应用（左边栏）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideRecomFeed"><label>精彩微博推荐（首页时间线）</label></td>
<td><input type="checkbox" node-type="hideCommentTip"><label>微博活动横幅（评论栏）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideMemberTip"><label>开通微博会员横幅（页底）</label></td>
<td><input type="checkbox" node-type="hideTimelineMods"><label>首页时间线嵌入模块（好友关注等）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideFollowGuide"><label>“为你推荐”弹窗（新用户）</label></td>
</tr>
<tr class="wbpRowSpacing">
<td><input type="checkbox" node-type="hideAvatar"><label>用户头像（右边栏）</label></td>
<td><input type="checkbox" node-type="hideStats"><label>关注/粉丝/微博数</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideToMe"><label><span style="color: blue">发给我的</span></label></td>
<td><input type="checkbox" node-type="hideFriends"><label><span style="color: blue">好友圈/密友</span></label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideInterestUser"><label>可能感兴趣的人</label></td>
<td><input type="checkbox" node-type="hideTopic"><label>热门话题</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideWeiboRecom"><label><span style="color: blue">热门微博</span></label></td>
<td><input type="checkbox" node-type="hideLocationRecom"><label>地点推荐</label></td>
<tr>
<td><input type="checkbox" node-type="hideMusicRecom"><label>热门歌曲</label></td>
<td><input type="checkbox" node-type="hideMovieRecom"><label>最新电影</label></td>
</tr>
<td><input type="checkbox" node-type="hideBookRecom"><label>人气图书</label></td>
<td><input type="checkbox" node-type="hideTopComment"><label>热评微博（“我的评论”页）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideMember"><label>会员专区</label></td>
<td><input type="checkbox" node-type="hideNotice"><label>公告栏</label></td>
</tr>
<tr class="wbpRowSpacing">
<td><input type="checkbox" node-type="hideVerifyIcon"><label>个人/机构认证标识</label><a href="http://verified.weibo.com/verify" target="_blank"><i class="W_ico16 approve"></i><i class="W_ico16 approve_co"></i></a></td>
<td><input type="checkbox" node-type="hideDarenIcon"><label>微博达人标识</label><a href="http://club.weibo.com/intro" target="_blank"><i class="W_ico16 ico_club"></i></a></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideMemberIcon"><label>微博会员标识</label><a href="http://vip.weibo.com/" target="_blank"><i class="W_ico16 ico_member"></i><i class="W_ico16 ico_member_dis"></i></a></td>
<td><input type="checkbox" node-type="hideVgirlIcon"><label>微博女郎标识</label><a href="http://vgirl.weibo.com/" target="_blank"><i class="W_ico16 ico_vlady"></i></a></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideTaobaoIcon"><label>淘宝商户</label><a href="http://e.weibo.com/taobao/introduce" target="_blank"><i class="W_ico16 ico_taobao"></i></a></td>
<td><input type="checkbox" node-type="hideGongyiIcon"><label>微博益起来</label><a href="http://gongyi.weibo.com/together" target="_blank"><i class="W_ico16 ico_gongyi"></i></a></td>
</tr>
<tr class="wbpRowSpacing">
<td><input type="checkbox" node-type="hideProfCover"><label>封面图（个人主页）</label></td>
<td><input type="checkbox" node-type="hideProfStats"><label>关注/粉丝/微博数（个人主页）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideMedal"><label>勋章（个人主页）</label></td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" node-type="hideMyRightSidebar"><label><span style="color: red">个人主页右边栏</span>：选中后整个右边栏将被去除</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideRelation"><label>关注/粉丝/微关系（个人主页）</label></td>
<td><input type="checkbox" node-type="hideAlbum"><label>微相册（个人主页）</label></td>
</tr>
<tr>
<td><input type="checkbox" node-type="hideProfHotTopic"><label>话题（个人主页）</label></td>
<td><input type="checkbox" node-type="hideProfHotWeibo"><label>热门微博（个人主页）</label></td>
</tr>
<tr class="wbpRowSpacing">
<td colspan="2"><input type="checkbox" node-type="hideFeedRecom"><label>相关推荐：单条微博右边栏</label></td></tr>
</tr>
</tbody>
</table>
<p style="margin-top: 15px">
<a href="javascript:void(0);" class="W_btn_b" node-type="hideAll"><span>全选</span></a>
<a href="javascript:void(0);" class="W_btn_b" node-type="hideInvert" style="margin-left: 5px"><span>反选</span></a>
</p>
</div>
<div node-type="tabModify" style="display: none">
<p><input type="checkbox" node-type="mergeSidebars"><label><span style="color: red">双栏版式</span>（将左边栏并入右边栏）</label></p>
<p><input type="checkbox" node-type="floatSidebar"><label><span style="color: red">浮动常用边栏</span>（常用边栏随页面滚动）</label></p>
<p><input type="checkbox" node-type="showAllGroups"><label>始终显示所有分组</label></p>
<p><input type="checkbox" node-type="showAllMsgNav"><label>始终显示所有消息导航条（左边栏“消息”下的“提到我的”、“评论”等）</label></p>
<p><input type="checkbox" node-type="unwrapText"><label>微博作者与正文间不折行</label></p>
<p><input type="checkbox" node-type="directBigImg"><label>点击“查看大图”直接打开大图</label></p>
<p><input type="checkbox" node-type="directFeeds"><label>点击用户名直接进入微博列表（跳过“他/她的主页”）</label></p>
<p><input type="checkbox" node-type="noDefaultFwd"><label>禁止在评论时默认选中“同时转发到我的微博”</label></p>
<p><input type="checkbox" node-type="noDefaultGroupPub"><label>禁止在浏览分组时默认发布新微博到该分组</label></p>
<p><input type="checkbox" node-type="clearDefTopic"><label title="关闭此选项后需要刷新页面生效">清除微博发布框中的默认话题</label></p>
<div style="margin-top: 15px">
在
<input type="checkbox" node-type="readerModeIndex" style="margin: 0 2px 0 8px"><label>我的首页</label>
<input type="checkbox" node-type="readerModeProfile" style="margin: 0 2px 0 8px"><label style="margin-right: 8px">个人主页</label>
启用极简阅读模式<span style="color: red">（可按F8切换）</span>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top: 3px">
<tbody>
<tr>
<td style="width: 85px; padding-left: 19px">宽度（像素）：</td>
<td>
<div class="wbpInput" style="width: 40px">
<input type="text" node-type="readerModeWidth" class="input">
</div>
</td>
<td style="width: 60px">背景颜色：</td>
<td>
<div class="wbpInput">
<input type="text" node-type="readerModeBackColor" class="input">
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="margin-top: 10px">
设置
<input type="checkbox" node-type="overrideMyBack" style="margin: 0 2px 0 8px"><label>我的首页</label>
<input type="checkbox" node-type="overrideOtherBack" style="margin: 0 2px 0 8px"><label style="margin-right: 8px">个人主页</label>
透明背景色
<div class="wbpInput wbpInlineInput" style="width: 190px" title="最后一个参数为透明度，0为全透明，1为不透明">
<input type="text" node-type="backColor" class="input">
</div>
</div>
<div style="margin-top: 10px">
覆盖
<input type="checkbox" node-type="overrideMySkin" style="margin: 0 2px 0 8px"><label>我的首页</label>
<input type="checkbox" node-type="overrideOtherSkin" style="margin: 0 2px 0 8px"><label style="margin-right: 8px">个人主页</label>
模板设置为
<div class="wbpInput wbpInlineInput" style="width: 80px" title="普通模板为“skin+三位数字编号”，如skin012\n会员专属模板为“skinvip+三位数字编号”，如skinvip012\n默认模板为default">
<input type="text" node-type="skinID" class="input">
</div>
（仅自己可见）
</div>
<p style="margin-top: 10px"><input type="checkbox" node-type="useCustomStyles"><label><span style="color: red">自定义样式</span>（CSS）：可用于屏蔽模块、改造版面，</label><a href="http://code.google.com/p/weibo-content-filter/wiki/CustomCSS" target="_blank">点此查看示例</a></p>
<textarea node-type="customStyles" rows="6" style="margin-top: 5px"></textarea>
</div>
<div node-type="tabSettings" style="display: none">
//#if GREASEMONKEY
<p><input type="checkbox" node-type="autoUpdate"><label>每周自动检查更新</label></p>
//#endif
<p><input type="checkbox" node-type="updateNotify"><label>更新后首次使用时显示新功能</label></p>
//#if CHROME
<p><input type="checkbox" node-type="autoSync"><label title="在开启了本选项并使用同一Google账户登录的设备之间同步插件设置"><span style="color: red">自动同步设置</span></label>：需要使用您的Google账户<a href="https://support.google.com/chrome/bin/answer.py?hl=zh-Hans&answer=185277&topic=1693469&ctx=topic" target="_blank">登录Chrome浏览器</a></p>
//#endif
<p><input type="checkbox" node-type="floatBtn"><label>浮动设置按钮（“返回顶部”浮动按钮下方）</label></p>
<div class="clearfix" style="margin-top: 8px">
<div style="float: left; width: 385px">
<p>当前账号的设置信息在下列文本框中，您可以将其复制到其它位置保存。需要导入设置时，请将设置信息粘贴到文本框中，然后点击“导入”。</p>
</div>
<a href="javascript:void(0)" class="W_btn_b" node-type="import" style="float: right; margin-top: 6px"><span>导入</span></a>
</div>
<textarea node-type="settingsString" rows="10"></textarea>
//#if DEBUG
<div class="clearfix" style="margin-top: 8px">
<div style="float: left; padding-top: 4px">
<span style="color: red">调试模式</span>：在 
<input type="radio" name="scope" checked="checked" style="vertical-align: middle"><label>脚本</label>
//#if CHROME
 或 
<input type="radio" node-type="extScope" name="scope" style="vertical-align: middle"><label>插件</label>
//#endif
 环境中执行代码，结果输出到控制台
</div>
<div style="float: right">
<a href="javascript:void(0)" class="W_btn_b" node-type="execute"><span>执行</span></a>
</div>
</div>
<textarea node-type="debugSnippet" rows="3"></textarea>
//#endif
</div>
</div>
</div>
<p class="btn">
<a href="javascript:void(0);" class="W_btn_a" node-type="OK"><span>确定</span></a>
<a href="javascript:void(0);" class="W_btn_c" node-type="cancel"><span>取消</span></a>
</p>
</div>